export const formList = [
  {
    key: "url",
    label: "网址链接",
    placeholder: "请输入",
  },
  {
    key: "change_type",
    label: "变更类型",
    type: "slot"
  },
  {
    key: "change_before",
    label: "变更前",
    // type: "dict",
    // dictKey: "",
    placeholder: "请输入",
  },
  {
    key: "change_after",
    label: "变更后",
    // type: "dict",
    // dictKey: "",
    placeholder: "请输入",
  },
  {
    key: "updated_at",
    label: "发现时间",
    type: "dateRange",
    showTime: true,
    placeholder: "请选择",
  }
];


export const columns = [
  {
    slots: {title: "number"},
    dataIndex: "id",
    width: 80
  },
  {
    title: "所属分类",
    dataIndex: "dict",
    slots: { customRender: "dict" },
    width: 110
  },
  {
    slots: {title: "btTitle"},
    dataIndex: "title",
    width: 100
  },
  {
    slots: {title: "lyType"},
    dataIndex: "source_type",
    width: 100
  },
  {
    slots: {title: "wzUrl", customRender: "url"},
    dataIndex: "url",
    width: 150
  },
  {
    slots: {title: "gjContent"},
    dataIndex: "content",
    width: 150
  },
  {
    slots: {title: "gjTime"},
    dataIndex: "created_at",
    width: 120
  },
  {
    slots: {title: "gjStatus", customRender: "status"},
    dataIndex: "status",
    width: 100
  },
  {
    title: "操作人",
    dataIndex: "user",
    slots: { customRender: "user" },
    width: 100
  },
  {
    title: "操作时间",
    dataIndex: "updated_at",
    width: 120
  },
  {
    title: "操作",
    slots: { customRender: "action" },
    width: 230,
    fixed: 'right'
  },
];
